package com.smzd.projforge.domain;

import java.util.List;

import com.smzd.core.annotations.ModuleGroup;
import com.smzd.core.domain.BaseOwnedEntity;
import com.smzd.framework.system.domain.Meeting;

@ModuleGroup("projforge")
public class Project extends BaseOwnedEntity<Meeting> {
	private static final long serialVersionUID = 5636545251493477740L;
	public static final int DB_TYPE_MYSQL = 0;
	public static final int DB_TYPE_MSSQL = 1;
	public static final int DB_TYPE_ORACLE = 2;
	//程序的包根路径
	private String packageName;
	//统一的数据库前缀
	private String dbprefix;
	//数据库类型
	private int dbtype = DB_TYPE_MYSQL;
	//统一的一级入口
	private String entry;
	//下属所有动态类
	private List<DynaClass> classes;
	
	private List<MTMRelation> mtmRelations;
	
	private Suit suit;
	
	public Project(){}
	public Project(int id){
		setId(id);
	}
	
	public String getPackageName() {
		return packageName;
	}
	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
	public List<DynaClass> getClasses() {
		return classes;
	}
	public void setClasses(List<DynaClass> classes) {
		this.classes = classes;
	}
	public String getDbprefix() {
		return dbprefix;
	}
	public void setDbprefix(String dbprefix) {
		this.dbprefix = dbprefix;
	}
	public String getEntry() {
		return entry;
	}
	public void setEntry(String entry) {
		this.entry = entry;
	}
	public int getDbtype() {
		return dbtype;
	}
	public void setDbtype(int dbtype) {
		this.dbtype = dbtype;
	}
	public List<MTMRelation> getMtmRelations() {
		return mtmRelations;
	}
	public void setMtmRelations(List<MTMRelation> mtmRelations) {
		this.mtmRelations = mtmRelations;
	}
    public Suit getSuit() {
        return suit;
    }
    public void setSuit(Suit suit) {
        this.suit = suit;
    }
}
